<?php
    header("Access-Control-Allow-Origin: *");
    header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
    include "../../config.php";




    $account=$_REQUEST['account'];

    $now_time = date("Y-m-d H:i:s");
    $_result=select_lines_all_items($table_prefix."facebook_page_data",'last_share_time asc',
                                                "account = '{$account}' and (status != '暂停' or status is null)",'1');


    //把读出的这条数据表格一下，status 值为当前时间
    $_data['ai_last_share_time']=$now_time;
    $_sql=update_date($table_prefix."facebook_group_data",$_data,"nid",$_result[0]['nid']);
    //执行语句
    mysql_query($_sql) or die("Error: " . mysql_error().$_sql);




?>

<h1><?echo $_result[0]['url'];?></h1>

